home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / imap / ANSI / ms / makeifexists < prev    next >
Text File  |  1997-02-28  |  1KB  |  37 lines

  1. #!/bin/sh
  2. #
  3. # Program:    Make from second argument if first argument exists
  4. #
  5. # Author:    Dave King
  6. #        dave@ADM1.BRIS.AC.UK
  7. #
  8. # Date:        15 July 1993
  9. # Last Edited:    4 August 1993
  10. #
  11. # Copyright 1993 by the University of Washington
  12. #
  13. #  Permission to use, copy, modify, and distribute this software and its
  14. # documentation for any purpose and without fee is hereby granted, provided
  15. # that the above copyright notice appears in all copies and that both the
  16. # above copyright notice and this permission notice appear in supporting
  17. # documentation, and that the name of the University of Washington not be
  18. # used in advertising or publicity pertaining to distribution of the software
  19. # without specific, written prior permission.  This software is made
  20. # available "as is", and
  21. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  22. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  23. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  24. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  25. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  26. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  27. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  28. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  29.  
  30. if test -d $1
  31. then
  32.    make -f $2
  33. else
  34.    echo $1 directory not found, so $2 is ignored
  35.    exit
  36. fi
  37.